Lines Matching defs:code
6 // * Redistributions of source code must retain the above copyright
64 static void ExpectString(const char* code, const char* expected) {
65 Local<Value> result = CompileRun(code);
72 static void ExpectBoolean(const char* code, bool expected) {
73 Local<Value> result = CompileRun(code);
79 static void ExpectObject(const char* code, Local<Value> expected) {
80 Local<Value> result = CompileRun(code);
759 // The code will not be run in that case, due to the "if" guard.
1013 const char* code = "var str = 'oddle'; obj[str] + obj.poddle;";
1014 v8::Handle<Value> str = CompileRun(code);
1412 // code is based on the address.
1420 // objects should not be assigned the same hash code. If the test below fails
2624 const char* code =
2635 ExpectString(code, "PASSED");
2649 const char* code =
2659 ExpectString(code, "PASSED");
2673 const char* code =
2689 ExpectString(code, "PASSED");
2702 const char* code =
2712 ExpectString(code, "PASSED");
2725 const char* code =
2740 ExpectString(code, "PASSED");
2753 const char* code =
2770 ExpectString(code, "PASSED");
2783 const char* code =
2800 ExpectString(code, "PASSED");
2813 const char* code =
2824 ExpectString(code, "PASSED");
3418 const char* code =
3427 v8::Handle<Value> result = CompileRun(code);
4186 // to make sure to exercise the IC code.
4198 // that. Repeat in a loop to make sure to exercise the IC code.
4531 // Add an accessor accessible by cross-domain JS code.
4538 // Add an accessor that is not accessible by cross-domain JS code.
4676 // Add an accessor to proto that's accessible by cross-domain JS code.
4682 // Add an accessor that is not accessible by cross-domain JS code.
5444 // when evaluting code.
5451 // code.
7071 const char* code = "throw 7;";
7077 v8::Handle<Value> value = CompileRun(code);
7094 const char* code = "throw 7;";
7098 v8::Handle<Value> value = CompileRun(code);
7785 // arise because we share code between contexts via the compilation
8674 // See http://code.google.com/p/v8/issues/detail?id=398
8885 // http://code.google.com/p/chromium/issues/detail?id=26337.
9195 // The goal of the code below is to make "offset" large enough
9592 // Create a context used to keep the code from aging in the compilation